package o;

import androidx.annotation.NonNull;
import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appmarket.service.appdetail.bean.report.GeneralResponse;
import com.huawei.appmarket.service.appdetail.bean.report.GeneralResponse$SizeHintLimit;

class dxs$4 extends cgg<drh, GeneralResponse> {
    final /* synthetic */ fjx ॱ;

    dxs$4(fjx o_fjx) {
        this.ॱ = o_fjx;
    }

    protected /* synthetic */ void ˋ(@NonNull BaseRequest o_cvu, @NonNull ResponseBean responseBean) {
        ॱ((drh) o_cvu, (GeneralResponse) responseBean);
    }

    boolean ˎ(@NonNull GeneralResponse generalResponse) {
        return generalResponse.getResponseCode() == 0 && generalResponse.getRtnCode_() == 0;
    }

    protected void ॱ(@NonNull drh o_drh, @NonNull GeneralResponse generalResponse) {
        Logger.ˎ("DependApiImpl", "Receive response for getting 'sizeHintLimit_'.");
        String str = "";
        if (ˎ(generalResponse)) {
            GeneralResponse$SizeHintLimit ˋॱ = generalResponse.ˋॱ();
            if (ˋॱ == null) {
                str = "'sizeHintLimit_' is null.";
            } else {
                this.ॱ.ॱ(Long.valueOf(ˋॱ.ˋ()));
                return;
            }
        }
        str = "responseCode: " + generalResponse.getResponseCode() + ", rtnCode_: " + generalResponse.getRtnCode_();
        this.ॱ.ॱ(new Exception("Fail to get 'sizeHintLimit_':: " + str));
    }
}
